<template>
  <view class="wrap">
    <view v-if="title" class="title">{{ title }}</view>
    <slot />
  </view>
</template>
<script>
export default {
  props: {
    title: {
      default: "",
    },
  },
};
</script>
<style lang="scss" scoped>
.title {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  color: $uni-text-color-placeholder;
  padding: 24px 0 12px 0;
}

.wrap {
  padding: 0 24px 12px 24px;
}
</style>
